#ifndef HTTP_H
#define HTTP_H

#include <QObject>
#include <QMap>
#include <QEventLoop>

class Http : public QObject
{
    Q_OBJECT
public:
    explicit Http(QObject *parent = nullptr);
    bool post_sync(QString url,QMap<QString,QString>header,QByteArray requestData,QByteArray &replyData);

signals:

public slots:
};

#endif // HTTP_H
